﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WinCustomsService.Model
{
    /// <summary>
    /// 311 提交海关
    /// </summary>
    public class Push311Submit
    {
        public  MessageInfo Message{ get; set; }
        public class MessageInfo
        {
            public MessageHeadInfo MessageHead { get; set; }
            public MessageBodyInfo MessageBody { get; set; }
        }
        public class MessageHeadInfo
        { 
            public string MessageId { get; set; }
            public string MessageType { get; set; } = "CEB311Message.xml";
            public string SenderID { get; set; } = "SHOP";
            public string ReceiverID { get; set; } = "PORT";
            public string SendTime { get; set; }

            public string Version { get; set; } = "1.0";
        }

        public class MessageBodyInfo
        {

            public string data { get; set; }
        }
    }
}
